const { createService, removeService, updateService, findByIdService, findByPageService } = require('../services/z-demo');
const AppError = require('../utils/AppError');
const Controller = require('../utils/Controller');
const { toi } = require('../utils/tools');

class BlogTypeController extends Controller {
	async create(req, res, next) {
		res.send('增');
	}

	async remove(req, res, next) {
		res.send('删');
	}

	async update(req, res, next) {
		res.send('改');
	}

	async findByPage(req, res, next) {
		res.send('改分页');
	}

	async findById(req, res, next) {
		res.send('改单个');
	}
}

module.exports = new BlogTypeController();
